Skip to main content

All Questions

1vote
1answer
281views

pos_label=1 is not a valid label. Should be one of [2,4]

I am trying to retrieve my precision score but I am getting an error as follows: pos_label=1 is not a valid label. It should be one of [2 ,4] And here is the code ...
Hanh's user avatar
0votes
1answer
28views

How do I decide the frequency of data capture for modeling? How does it affect my final model?

I plan to capture data to predict energy consumption in a food processing plant. I want to capture production details such as how much each category of food is produced, what is the machine's output, ...
NAS_2339's user avatar
0votes
1answer
116views

Can I include a quotient as dependent variable and independent variables with same denominator in a linear model? How do we interpret such models?

I want to create a model in a food processing plant where my dependent variable is Electricity (KWhr) consumption per kg. Plant produce different food items with varying electricity consumption. I'm ...
NAS_2339's user avatar
1vote
1answer
4kviews

Why am I getting a different answer in Principal Component Analysis dimensional reduction?

Problem-: Consider the two dimensional patterns (2, 1), (3, 5), (4, 3), (5, 6), (6, 7), (7, 8). Compute the principal component using PCA Algorithm. Use PCA Algorithm to transform the pattern (2, 1) ...
achhainsan's user avatar
0votes
1answer
768views

Does shuffling the training data matter in a K Nearest Neighbors Classifier model?

I am new to machine learning and I have a couple of questions about a project. So, I created a classifier using the MNIST data set for a ML project that I was working on. I augmented the data by ...
Akshay Ghosh's user avatar
2votes
1answer
62views

Can we use two independently measured features in a same ML model? [closed]

Two features are measured at different times but belong to the same target. In which conditions or form these features can be modeled together? Or they shouldn't be used in the same model but modeled ...
Shahriyar Mammadli's user avatar
0votes
0answers
51views

Machine learning applications in Architecture field

Can there be Machine learning applications in Architecture field? Example : New York City 100 years back i.e. Year 1920, every ten years after 1920 and today i.e. Year 2020 images of New York City ...
Prashant Akerkar's user avatar
2votes
2answers
2kviews

X, Y names in data-science [closed]

I am from CS background and moving towards Data Sciences, I have came to know ML is highly influenced by Statistical Inference/signal processing. The X we use in data science is called input, feature ...
Nauman Akram's user avatar
1vote
0answers
927views

ValueError: Found input variables with inconsistent numbers of samples: [2, 44] [closed]

Have a piece of code where i am cleaning the text from the 'Description' column and storing it as "cleaned" Then i create a ML model using the above as one of my features. ...
Gaurav Hegde's user avatar
1vote
1answer
1kviews

How to predict consumer purchase in next 6 months?

I'm working on a model to predict a customer as being 'in-market' for a product in the next 6 months. The dataset has a wealth of information like lifestyle and demographic variables and previous ...
CM23's user avatar
1vote
2answers
56views

Suggestion of a model for these type of data?

I've got a data set that looks like this ...
Axois's user avatar
0votes
1answer
46views

Machine learning model using keywords for binary decision

I have a some experience from Uni with convolutional NN and edge detection, but haven't much explored the other types of machine learning models. I was wondering if there might be one that is suited ...
Daniel Pavlovsky's user avatar
1vote
1answer
2kviews

How to feed data to Machine Learning Model?

I'm working on an SVM model as my college project. And the goal is to identify whether a tumor is benign or malignant. I'm implementing the model in Python. I found the data set from Gene Expression ...
yesiamabdul's user avatar
7votes
6answers
6kviews

Is it advisable to combine two dataset?

I have two datasets on heart rate of subjects that were recorded in two different places (two different continent to be exact). The two research experiments aimed to find the subjects' emotions based ...
Lapatrie's user avatar
2votes
1answer
45views

Algortihm for making predictions from minimal data

I am working with classification problem. I have a dataset with a lot of features. A lot of them can easily determine class. On production, I want to ask the user to provide me with only part of the ...
Kamil 111's user avatar

close